package com.ysd.gulimall.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ysd.common.utils.PageUtils;
import com.ysd.gulimall.member.entity.MemberEntity;
import com.ysd.gulimall.member.vo.MemberLoginVo;
import com.ysd.gulimall.member.vo.MemberRegistVo;
import com.ysd.gulimall.member.vo.SocialUser;

import java.util.Map;

/**
 * 会员
 *
 * @author CrazyCat
 * @email CrazyCat@qq.com
 * @date 2020-07-12 14:15:49
 */
public interface MemberService extends IService<MemberEntity> {

    PageUtils queryPage(Map<String, Object> params);

    MemberEntity login(MemberLoginVo vo);

    MemberEntity login(SocialUser socialUser) throws Exception;
}

